package com.demo.travel.bean;

import com.demo.travel.R;

import java.io.Serializable;


public class ItemBean implements Serializable {

    private int image= R.mipmap.guju;

    private String title="标题标题标题标题标题标题";

    private String content="内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容";

    public ItemBean(){}

    public ItemBean(String title,int image){
        this.title = title;
        this.image = image;
    }

    public int getImage() {
        return image;
    }

    public void setImage(int image) {
        this.image = image;
    }

    public String getTitle() {
        return title == null ? "" : title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content == null ? "" : content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
